package com.webside.points.model;

import java.util.Date;

import com.webside.points.wechat.DateUtil;

public class IssueTypeEntity {

	
	/*
	 * 问题类型ID
	 */
	private int id;
	/*
	 * 状态
	 */
	private String status;
	/*
	 * 问题类型名称
	 */
	private String issueTypeName;
	/*
	 * 创建时间
	 */
	private Date createTime;
	
	/*
	 * 格式化创建时间
	 */
	private String dateFormat;
	

	public String getDateFormat() {
		return dateFormat;
	}

	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}

	public IssueTypeEntity() {
		super();
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIssueTypeName() {
		return issueTypeName;
	}

	public void setIssueTypeName(String issueTypeName) {
		this.issueTypeName = issueTypeName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.dateFormat = DateUtil.dateFormat(createTime);
	}

	@Override
	public String toString() {
		return "IssueTypeEntity [id=" + id + ", issueTypeName=" + issueTypeName + ", createTime=" + createTime + "]";
	}
	
	
	
}
